#include <iostream>
using namespace std;

template <typename T>
T Max(T a, T b)
{
	return a > b ? a : b;
}

void main()
{
	int ch1_HP = 200;
	int ch2_HP = 500;
	int maxCH_HP = Max(ch1_HP, ch2_HP);

	cout << "Max HP : " << maxCH_HP << endl;

	float ch1_Exp = 310.5f;
	float ch2_Exp = 310.1f;
	float maxCH_Exp = Max(ch1_Exp, ch2_Exp);
	cout << "Max Exp : " << maxCH_Exp << endl;
}

